@charset "utf-8";

/* Created by Toma on 2016年5月8日15:39:22 */


/* main */
$defaultFont: #515358;
$txt-link: #61c4e5;

html{
  font-size:  20px;
}
body{
  color: $defaultFont;
}
select{
  -webkit-appearance: none;
}

// 引用_合并
@import 'toma';
@import "font";

@include tools();



/* 禁止页面滚动 */
.oven{
  overflow: hidden;
  height: 100%;
  .fit-comment{
    position: absolute;
  }
  .advisory{
    position: absolute;
  }
}

.waper{
  margin-bottom: 60px;
}
.font-blue{
  color: $txt-link !important;
}
.ui-tag-new::before,.ui-tag-hot::before{
  line-height: 16px;
}

/* video_home */
.v-h-con{
  //margin-bottom: 50px;
  font-size: 0;
  .ui-slider{
    padding-top: 55.25%;
  }
  .vh-con-i{
    display: block;
    position: relative;
    @include rem(height,207px);
    background-image: url(../img/default_v.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: top center;
    overflow: hidden;
  }
  .vh-ci-tit{
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    text-align: left;
    color: #fff;
    @include rem(height,36px);
    @include rem(font-size,16px);
    @include rem(line-height,36px);
    &::before{
      content: '';
      display: inline-block;
      width: 10px;
    }
  }
  .vh-tr{
    line-height: 1;
    text-align: center;
    height: 38px;
    padding-top: 10px;
    &::before{
      display: none;
    }
    span{
      display: block;
      font-size: 10px;
      margin-top: 5px;
    }
  }
  .vh-50{
    width: 50%;
    display: inline-block;
  }
  &.t-v4{
    position: absolute;
    width: 100%;
    height: 100%;
    a{
      height: 25%;
    }
  }
}
.v-h-m3{
  padding-top: 15px;
  .ui-grid-trisect-img{
    padding-top: 100%;
  }
  .m3-tit{
    display: block;
    background-color: $txt-link;
    color: #fff;
    margin: 0;
    padding: 0 8px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 30px;
  }
}

/* list */
.v-list{
  li{
    margin-left: 0;
    padding: 0 15px;
    height: 56px;
  }
  .v-l-time{
    color: $txt-link;
    font-size: 13px;
  }
}
.v-l-con{
  padding-top: 10px;
  padding-bottom: 50px;
}
.v-g-ul{
  .v-g-tit{
    font-size: 13px;
    color: $txt-link;
    line-height: 1.8;
  }
  .v-g-time{
    @include rem(font-size,10px);
    color: $defaultFont;
  }
}
.v-g-ul .ui-grid-halve-img::before, .coll-del .ui-list-img::before{
  content: '';
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url(../img/palyicon.png);
  -webkit-background-size: contain;
  background-size: contain;
  z-index: 10;
  margin-top: -20px;
  margin-left: -20px;
  top: 50%;
  left: 50%;
}
.fit-list li{
  margin-left: 0;
  padding: 5px 0 5px 15px;
}

/* video */
.video{
  position: relative;
  padding-top: 56.9%;
  background: #e8edf1;
  overflow: hidden;
  background: #000;
}
.video-c-header{
  padding: 5px 15px 20px;
  .v-c-tit{
    height: 48px;
    line-height: 36px;
    time{
      display: inline-block;
      @include rem(font-size,13px);
      color: $txt-link;
      vertical-align: -2px;
    }
  }
  .v-c-body{
    @include rem(font-size,14.6px);
  }
}
.video-content{
  padding-bottom: 70px;
}
.ctrl{
  float: right;
  i{
    font-size: 20px;
    padding: 6px 8px;
    color: #627082;
  }
}

/* tab */
.fit-tab{
  margin-top: 0;
  .fit-ul-list{
    border-top: 0;
    li{
      margin-left: 0;
      padding: 5px 0 5px 15px;
    }
  }
  .ui-list-info > h4{
    line-height: 1.8;
  }
}
.log-time{
  float: right;
  font-size: 12px;
  padding-top: 4px;
  color: #aaaaaa;
}

/* 评论框 */
.fit-comment{
  background: $txt-link;
  display: -webkit-box;
  -webkit-box-align: center;

  .ui-input,.ui-btn{
    height: 40px;
    line-height: 40px;
  }
  .fit-btn{
    color: #fff;
    border: none !important;
    background: $txt-link;
    min-width: 44px;
    margin-right: 10px;

    span{
      font-size: 30px;
    }
  }
}

/* 头像列表 */
.head-waper{
  margin: 15px;
  .ui-avatar-tiled{
    height: 44px;
    width: 44px;
  }
}

/* 用户首页 */
.user-header{
  position: relative;
  padding: 25px 15px;
  background: $txt-link;
  margin-bottom: 10px;
  .ui-avatar-lg{
    display: inline-block;
    vertical-align: middle;
    border: 6px solid #54b2d2;
  }
  .username{
    display: inline-block;
    color: #fff;
    margin-left: 8px;
    vertical-align: middle;
  }
  .header-ic{
    position: absolute;
    top: 32%;
    right: 4px;
    color: #91e4ff;
  }
}
.user-content{
  margin-bottom: 15px;
  li{
    margin-left: 0;
    padding-left: 15px;
    color: #4f5f73;
    &::after{
      line-height: 38px;
    }
  }
  .ui-list-thumb{
    width: 30px;
    height: 30px;
    i{
      font-size: 30px;
    }
  }
}

/* form */
.fit-form{
  .fit-f-head{
    padding: 15px;
    .ui-avatar-lg,.head-upload{
      display: inline-block;
      vertical-align: middle;
      margin-right: 8px;
    }
  }
  .ui-form{
    margin-bottom: 20px;
  }
  .ui-form-item{
    height: 56px;
    line-height: 56px;
  }
  .ui-form-item-textarea{
    height: 72px;
    textarea{
      padding-top: 2px;
    }
  }
  .ui-select{
    min-width: 50px;
    margin-right: 10px;
  }
  .fit-f-btn{
    border-left: 1px solid #efefef;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 57px;
    height: 55px;
    width: 110px;
    text-align: center;
    background: #fff;
    color: #8e8e93;
  }
}

/* 消息 */
.message-content{
  li{
    margin-left: 0;
    padding: 5px 0 5px 15px;
  }
  .fit-info-l{
    margin-right: 5px;
    i{
      font-size: 30px;
    }
  }
  .readed{
    color: #777;
  }
}
.fit-dia-c{
  -webkit-box-pack: initial;
  h4{
    margin-bottom: 12px;
  }
  .fit-d-com{
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    text-indent: 30px;
  }
}

/* 收藏 */
.coll-del{
  .ui-icon-delete{
    font-size: 22px;
    line-height: 40px;
    width: 36px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: .2px;
    display: block;
    content: "\f61b";
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: 0;
    margin-right: -16px;
  }
  .ui-list-info{
    padding-right: 40px;
  }
  h4{
    height: 46px;
  }
}

/* 老师信息 */
.teacher-info{
  //margin: 15px;
  .image-body{
    background-color: #fff;
  }
  .teacher-tit{
    line-height: 50px;
    padding: 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    small{
      color: #ababab;
    }
  }
  .ui-btn-s{
    width: 70px;
    float: right;
    margin-top: 12px;
  }
}
.image-content{
  position: relative;
  padding-top: 55%;
  background-color: #e0ebf3;
  .img-daile{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
  }
}
.fit-teacher-form{
  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  .input-g{
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    border-bottom: 1px solid #e0e0e0;
    input{
      width: 100%;
      border: none;
      line-height: 38px;
      height: 38px;
    }
  }
  .txt-g{
    padding: 10px;
    textarea{
      width: 100%;
      border: none;
      line-height: 1.5;
      min-height: 160px;
    }
  }
}
.teacher-img-body{
  background-color: #fff;
  line-height: 50px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
  padding-right: 10px;
  .tg-tit{
    font-size: 14px;
    color: #b7b7b7;
    padding-left: 10px;
    padding-top: 1px;
  }
}
.teacher-h2{
  font-size: 16px;
  small{
    color: #bbb;
  }
}
.teacher-intro{
  font-size: 14px;
  line-height: 1.8;
  p{
    text-indent: 30px;
    margin-bottom: 6px;
  }
}

.advisory{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  .adv-content{
    position: absolute;
    background-color: #fff;
    z-index: 100;
    width: 100%;
    height: 210px;
    bottom: 0;
    left: 0;
  }
  .adv-mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 90;
  }
  .ui-btn-wrap{
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .adv-header{
    padding: 10px;
    padding-right: 0;
    background: #f0f4f7;
    .close{
      font-size: 19px;
      padding: 0 12px;
      float: right;
      color: #99a0a4;
    }
  }
  .adv-txt{
    margin: 10px;
    textarea{
      width: 100%;
      height: 100%;
      min-height: 130px;
      border: none;
      line-height: 1.6;
    }
  }
}

/* 交互聊天 */
.mutual-content{
  padding: 15px 0 90px;
  .mu-ul{
    background-color: transparent;
  }
  .an-up{
    transform: translate3d(-60px,60px,0);
  }
  li{
    margin-left: 10px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    transform: translate3d(0,0,0);
  }
  .li-te{
    .ui-list-info{
      position: relative;
      margin: 10px 50px 10px 0;
      span{
        background-color: #fff;
        color: #252424;
        padding: 12px;
        border-radius: 10px;

        &.gatrow{
          display: block;
          margin-top: -10px;
          text-align: left;
        }
        &::before{
          content: '';
          position: absolute;
          display: block;
          left: -12px;
          top: 15px;
          width: 0;
          height: 0;
          border-right: 6px solid #fff;
          border-left: 6px solid transparent;
          border-top: 6px solid transparent;
          border-bottom: 6px solid transparent;
        }
      }
    }
  }
  .li-me{
    .ui-list-info{
      position: relative;
      color: #fff;
      margin: 10px;
      margin-right: 0;
      margin-left: 50px;
      text-align: right;
      border-radius: 10px;
      overflow: hidden;
      span{
        background-color: $txt-link;
        padding:12px;
        border-radius: 10px;
        &.gatrow{
          display: block;
          margin-top: -10px;
          text-align: left;
        }
        &::before{
          content: '';
          position: absolute;
          display: block;
          right: 3px;
          top: 15px;
          width: 0;
          height: 0;
          border-right: 6px solid transparent;
          border-left: 6px solid $txt-link;
          border-top: 6px solid transparent;
          border-bottom: 6px solid transparent;
        }
      }
    }
  }
}
.bluebg{
  background-color: #ebecf0;
}

/* 分享提示 share */
.share{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  background: rgba(0,0,0,.8);
  z-index: 900;
  img{
    position: absolute;
    top: 10px;
    right: 6px;
    width: 60%;
    max-width: 100%;
  }
}

/* 电话按钮 */
.phone-number{
  text-align: center;
  margin-top: 25px;
}
.phoneicon{
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../img/phone.png);
  -webkit-background-size: contain;
  background-size: contain;
  vertical-align: -2px;
  margin-right: 5px;
}

/* 我的提醒 */
.prompt-con{
  //margin-top: 20px;
  .clock{
    text-align: center;
    font-size: 0;
    .clockicon{
      display: block;
      width: 26px;
      height: 26px;
      background-image: url(../img/clockicon.png);
      -webkit-background-size: contain;
      background-size: contain;
      margin: 0 auto;
    }
    p{
      font-size: 20px;
      line-height: 1;
      margin-top: 5px;
    }
    time{
      font-size: 10px;
    }
  }
}
.addprompt{
  text-align: center;
  line-height: 76px;
  margin-bottom: 10px;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}
.addblue{
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../img/add.png);
  -webkit-background-size: contain;
  background-size: contain;
  vertical-align: -3px;
  margin-right: 5px;
}

/* 下拉框 */
.fit-select{
  border:none;
  width: 100%;
}
.fit-delet{
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #3b4456;
  color: #ffffff;
  background-image: none;
}
.pro-io{
  font-size: 13px;
  color: #abadb2;
}

/* 我的健康 */
.health-con{
  position: relative;
  background-color: #fff;
  padding: 0 15px 30px 15px;
  margin-bottom: 15px;
}
.bgsvg{
  width: 90%;
  margin: 0 auto;
}
.h-ring{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0;
  //padding-top: 30%;
  @include rem(padding-top,108px);

  .r-tit{
    color: #bcc2c8;
    //font-size: 16px;
    @include rem(font-size,16px);
  }
  .r-num{
    //font-size: 56px;
    @include rem(font-size,56px);
    color: $txt-link;
  }
  .r-average{
    //font-size: 16px;
    @include rem(font-size,16px);
    color: #bcc2c8;
  }
  .place{
    color: #aeafb1;
    //font-size: 24px;
    //margin-top: 22px;
    @include rem(font-size,24px);
    @include rem(margin-top,22px);
  }
}
.hl-btn-grop{
  width: 60%;
  margin: 0 auto;
}
.fit-defaultbtn{
  background: $txt-link;
  border-color: $txt-link;
  margin-bottom: 15px;
}
.h-charbox{
  background-color: #fff;
  padding: 15px;
  .char{
    margin-bottom: 15px;
  }
}

/* 健康-签到记录 */
.signin-list{
  .ui-list-info{
    padding-right: 105px;
  }
}
.sig-rtime{
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -12px;
}
/* 健康-排行 */
.h-ranking{
  .ui-tab-content{
    margin-top: -1px;
  }
}
.defaulfont{
  color: $txt-link;
}
.fde-ava{
  width: 60px;
  height: 40px;
  margin: 10px 10px 10px 0;
  span{
    display: block;
    width: 100%;
    height: 100%;
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}
.h-rank{
  line-height: 60px;
  display: inline-block;
  text-align: center;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  &::before{
    content: attr(data-rank);
  }
}
#ranicon{
  background-image: url(../img/ranking.png);
  -webkit-background-size: auto 100%;
  background-size: auto 100%;
  margin-top: 20px;
  font-size: 0;
}
.h-rank[data-rank="1"]{
  @extend #ranicon;
}
.h-rank[data-rank="2"]{
  @extend #ranicon;
  background-position: 38px 0;
}
.h-rank[data-rank="3"]{
  @extend #ranicon;
  background-position: 20px 0;
}

.min-char{
  padding: 15px;
}
.logo{
  text-align: center;
  padding: 15px;
  display: block;
}

/* 视频 */
.logvideo{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.video-c{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 200;
  padding: 0;
}

/* 暂无数据 */
.no-data{
  width: 100%;
  min-height: 200px;
  padding-top: 30px;
  text-align: center;
  background: url("../img/grlogo.png") no-repeat center;
  &:after{
    content:'暂无数据;)';
    font-size: 14px;
    color: #bababd;
  }
}